<template>
    <el-result icon="error" title="插入错误" subTitle="不可插入空数据名">
        <template slot="extra">
          <el-button type="primary" size="medium"
          @click="returns"
          >返回</el-button>
        </template>
      </el-result>
  </template>
  
  <script>
  export default {
      methods:{
          returns(){
              this.$router.push('/adduser')
          }
      }
  }
  </script>
  
  <style>
  
  </style>